package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 课程媒资信息绑定失败
 * @author 勾新杰
 * @version 1.0
 * @date 2025/2/13 18:23
 */
public class CourseFailedBindMediaException extends XCPlusBaseException {

    CourseFailedBindMediaException(String message) {
        super(message);
    }

    public static void cast() {
        throw new CourseFailedBindMediaException(ContentError.COURSE_FAILED_BIND_MEDIA.getErrMessage());
    }
}
